<template lang="html">
  <el-button type="danger" plain @click="loginOut">退出</el-button>
</template>

<script>
export default {
  methods: {
    loginOut() {
      this.$store.commit('LOGO_OUT', this.$router)
    }
  }
}
</script>

<style lang="scss">
</style>
